/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 页面标题样式 */
h1 {
    text-align: center;
    color: #2c3e50;
    margin: 30px 0 10px;
    font-size: 2.5em;
    font-weight: 600;
}

p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* 主容器样式 */
.container {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 选项栏样式 */
.options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eef2f7;
    padding: 20px;
}

.option-item {
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
    background-color: #f8f9fa;
}

.option-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

/* 选中状态的样式 */
.option-item.active {
    background-color: #4CAF50;  /* 与按钮相同的绿色 */
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* 内容区域样式 */
.content {
    padding: 20px;
}

.input-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.input-content.active {
    display: block;
}

/* 文本框样式 */
textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #eef2f7;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.1);
}

/* 文件上传样式 */
input[type="file"] {
    display: block;
    margin: 20px auto;
    padding: 30px;
    border: 2px dashed #4CAF50;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input[type="file"]:hover {
    background-color: #e8f5e9;
    border-color: #45a049;
}

/* 按钮样式 */
button {
    display: block;
    margin: 20px auto;
    padding: 12px 35px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

button:active {
    transform: translateY(0);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .options {
        flex-direction: column;
        align-items: center;
    }

    .option-item {
        width: 100%;
        text-align: center;
    }

    input[type="file"] {
        width: 100%;
        padding: 20px;
    }
}